package com.dingchw.singlemusic.model.entity;

import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;


@Entity(name = "nationality")
@Setter
@Getter
public class Nationality{

	@Id
	@Column(name = "nationid", unique = true, nullable = false, length = 50)
	private String nationid;

	@Column(name = "nationname", nullable = false, length = 20)
	private String nationname;
}